:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    background-color: #fff;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

a {
    font-weight: 500;
    color: #222226;
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    background: #bfbfbf;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bfbfbf;
}

::-webkit-scrollbar-corner {
    background: #bfbfbf;
}

body {
    margin: 0;
    font: 12px "\5B8B\4F53", sans-serif;
    background: #ffffff;
}

div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
blockquote,
p {
    padding: 0;
    margin: 0;
}

table,
td,
tr,
th {
    font-size: 12px;
}

li {
    list-style-type: none;
}

img {
    vertical-align: top;
    border: 0;
}

ol,
ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 12px;
    font-weight: normal;
}

address,
cite,
code,
em,
th {
    font-weight: normal;
    font-style: normal;
}

/* 路由激活的样式 */
.router-link-active {
    color: #409EFF !important;
}

.ant-modal div[aria-hidden="true"] {
    display: none !important
}

.ant-statistic-title {
    color: #606266 !important;
    font-weight: 600;
}

.ant-statistic-content-value {
    color: #909399;
}

.ant-tree {
    background: transparent !important;
}

.ant-table-row {
    &.row-selection {
        background-color: skyblue !important;
        color: #fff !important;

        &:hover > td {
            background-color: skyblue !important;
            color: #fff !important;
        }
    }
}

.full-modal {
    .ant-modal {
        max-width: 100%;
        top: 0;
        padding-bottom: 0;
        margin: 0;
    }

    .ant-modal-content {
        display: flex;
        flex-direction: column;
        height: calc(100vh) !important;
        overflow-y: scroll;
    }

    .ant-modal-body {
        flex: 1;
    }
}

.dropdown-icon {
    color: #ffff;
    padding: 5px;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    display: none;
}

.ant-drawer-content-wrapper {
    width: 100vw !important;
}